package com.jieao.generator.service;

import com.jieao.common.core.domain.AjaxResult;
import com.jieao.generator.domain.SmsTemp;
import com.jieao.generator.dto.SmsSendDto;

import java.util.List;

/**
 * 短信发送服务
 */
public interface ISmsService {

    List<SmsTemp> selectSmsTempList(SmsTemp smsTemp);

    Integer insertSmsTemp(SmsTemp smsTemp);

    SmsTemp selectSmsTempById(Long id);

    Integer updateSmsTemp(SmsTemp smsTemp);

    Integer deleteSmsTempByIds(String ids);

    AjaxResult send(SmsSendDto smsSend);

    AjaxResult refreshTempStatus();
}
